<%@page import="com.wanmait.hotelManagement.vo.Order"%>
<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
			ArrayList<Order> allOrders = (ArrayList<Order>)request.getAttribute("allOrder");
			
	      	for(Order order:allOrders){
	      	%>
	      		<tr>
		          <td>
			          <input type="radio" name="idThree" value="<%=order.getRoomTypeId().getId()%>">
			      </td>
		          <td><%=order.getPassengerId().getId() %></td>
		          <td><%=order.getPassengerId().getName() %></td>
		          <td><%=order.getOrderNumber() %></td>
		          <td><%=order.getRoomTypeId().getRoomName() %></td>
		          <td><%=(order.getLeaveDate().getTime()-order.getArriveDate().getTime())/1000/60/60/24 %></td>
		          <td><%=order.getPassengerId().getIdCards() %></td>
		        </tr>
	      	<%
	      	}
	      	%>